bitkeeper revision 1.343 (3f1185f8LtpFl0Oco6NKylLtg11l2A)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sun, 13 Jul 2003 16:16:56 +0000 (16:16 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sun, 13 Jul 2003 16:16:56 +0000 (16:16 +0000)
misc fixes

xen/common/memory.c
xenolinux-2.4.21-sparse/arch/xeno/defconfig

index ab26b664d86ceeaa7723cee062492b0e196ff97d..637112d2418caecdb3fd31a9f995b01569fab892 100644 (file)
 
 /* Domain 0 is allowed to submit requests on behalf of others. */
 #define DOMAIN_OKAY(_f) \
-    (((_f) & PG_domain_mask) == current->domain)
+    ((((_f) & PG_domain_mask) == current->domain) || (current->domain == 0))
 
 /* 'get' checks parameter for validity before inc'ing refcnt. */
 static int get_l2_table(unsigned long page_nr);
index 4bcc51c3faf94003b464767cf2a8ff170b23649e..e356bce8cfab7d79d89c322cd2b097d7e471dc37 100644 (file)
@@ -131,9 +131,9 @@ CONFIG_XENOLINUX_BLOCK=y
 # Character devices
 #
 CONFIG_XEN_CONSOLE=y
-# CONFIG_VT is not set
-# CONFIG_VGA_CONSOLE is not set
-# CONFIG_DUMMY_CONSOLE is not set
+CONFIG_VT=y
+CONFIG_VGA_CONSOLE=y
+CONFIG_DUMMY_CONSOLE=y
 # CONFIG_PSMOUSE is not set
 # CONFIG_UNIX98_PTYS is not set